<%@page import="com.alibaba.fastjson.JSONObject"%>
<%@page import="com.alibaba.fastjson.JSONArray"%>
<%@page import="weaver.conn.RecordSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
RecordSet rs = new RecordSet();
JSONArray arr = new JSONArray();
rs.executeSql("select * from actionSetting order by id");
while(rs.next()){
	JSONObject json = new JSONObject();
	json.put("value",rs.getString("actionname"));
	json.put("label",rs.getString("actionshowname"));
	arr.add(json);
}
out.print(arr.toJSONString());

%>